package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.alipay.AliOrderResult;import com.ayf.payment.game.api.dto.alipay.MerchantAlipayOrderDTO;import com.ayf.payment.game.api.dto.criteria.MerchantAlipayOrderCriteria;import com.ayf.payment.game.api.entity.MerchantAlipayOrder;
import org.apache.ibatis.annotations.Param;import tk.mybatis.mapper.common.Mapper;import java.util.List;

public interface MerchantAlipayOrderMapper extends Mapper<MerchantAlipayOrder> {

    int updateOrderStatus(@Param("ali") AliOrderResult aliOrderResult);

    int bathAddAliPayOrder(@Param("list") List<MerchantAlipayOrder> list);

    List<MerchantAlipayOrderDTO> list(@Param("cri") MerchantAlipayOrderCriteria criteria);
}